/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.card.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.continew.admin.common.enums.GenderEnum;
import top.continew.starter.extension.crud.model.entity.BaseDO;

import java.io.Serial;

/**
 * 微信名片实体
 *
 * @author floyd
 * @since 2024/11/22 15:10
 */
@Data
@TableName("bsc_business_card")
public class BusinessCardDO extends BaseDO {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 姓氏
     */
    private String firstName;

    /**
     * 名字
     */
    private String lastName;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别（0：未知；1：男；2：女）
     */
    private GenderEnum gender;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 二维码图片
     */
    private String picture;

    /**
     * 个人简介
     */
    private String introduction;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 微信号
     */
    private String wechat;

    /**
     * 微信openId，关联bsc_wechat_user表open_id字段
     */
    private String openId;

    /**
     * 公司ID，关联bsc_company表ID字段
     */
    private Long companyId;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 岗位
     */
    private String title;

    /**
     * 声音
     */
    private String audio;

    /**
     * 声音时长
     */
    private Integer audioDuration;

    /**
     * 描述
     */
    private String description;

    /**
     * 状态（1：启用；2：禁用）
     */
    private Integer status;
}